﻿using System;

using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;

namespace Spacer {
    public class Fighter : Ship {
		public Fighter() {}

        public Fighter( SolarSys world ) : base(world) {
			if( this.GetType() == typeof(Fighter) ) Initialize();
        }

		public override void Initialize() {
			base.Initialize();

			DrawMode = DrawMode.Sprite;
            Sprite = Main.Sprites["Fighter"];
            DrawScale = new Vector2( 0.3f );
            DrawColor = new Color( 1f, 1f, 1f, 1f );

            PhysicsInit( 1f, MovementMode.Normal );
            Friction = 0.3f;
            AngularDamping = 3f;
            LinearDamping = 1f;

			Health = 500f;
			MaxHealth = 500f;

			FireRate = 0.3f;
            ProjectileType = typeof( Projectile );
			
            Fuel = 50000;
            MaxFuel = 50000;
			MovementForce = 10f;
			TurningForce = 2f;
			BoostMultiplier = 4f;
			
            Resources = 2000;
		}
    }
}
